<?php
/**
 * recent.phtml
 * 
 * @category 	Madoqua
 * @package 	Module
 * @subpackage 	Blog
 */
?>
<div class="recent-posts">
    <ul>
    	<?php foreach ($this->posts as $post) : ?>
    	<li>
    		<a href="<?php echo $this->url(array('slug' => $post->slug), 'post_read'); ?>">
    		    <?php echo $post->title; ?>
    		    <span class="date">
    		      <?php echo $this->date($post->posted); ?>
    		    </span>
		    </a>
    	</li>
    	<?php endforeach; ?>
	</ul>
</div>